D:\git\skunkworks\herald-for-cpp\herald\include\herald\ble\ble_device_delegate.h
Line | Count | Source |
1 | | // Copyright 2020-2021 Herald Project Contributors |
2 | | // SPDX-License-Identifier: Apache-2.0 |
3 | | // |
4 | | |
5 | | #ifndef HERALD_BLE_DEVICE_DELEGATE_H |
6 | | #define HERALD_BLE_DEVICE_DELEGATE_H |
7 | | |
8 | | #include "ble_device.h" |
9 | | |
10 | | namespace herald { |
11 | | namespace ble { |
12 | | |
13 | | class BLEDeviceDelegate { |
14 | | public: |
15 | 21 | BLEDeviceDelegate() = default; |
16 | 21 | virtual ~BLEDeviceDelegate() = default; |
17 | | |
18 | | virtual void device(const BLEDevice& device, const BLEDeviceAttribute didUpdate) = 0; |
19 | | }; |
20 | | |
21 | | } // end namespace |
22 | | } // end namespace |
23 | | |
24 | | #endif |